//
//  ReplaceDriveViewController.h
//  JxCarios
//
//  Created by xcq on 15/1/29.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "CLUIBaseViewController.h"
#import "ReplaceDriveTableViewCell.h"
#import "BMKLocationComponent.h"
#import "CarAroundDataSource.h"
#import <MJRefresh.h>
 #import <MBProgressHUD.h>
#import "ReplaceDetailTableViewController.h"

@interface ReplaceDriveViewController : CLUIBaseViewController <BMKMapViewDelegate,UITableViewDataSource,UITableViewDelegate>

 
//请求
@property (nonatomic , strong)CarAroundDataSource *requestDataSouce;


//列表
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (nonatomic , copy) NSMutableArray *tableDataSource;
@property (nonatomic , strong) UIButton *rightBtn;
@property (nonatomic , assign) NSInteger currenIndex;
@property (nonatomic , assign) NSInteger pageCount;
@property (nonatomic , copy) NSMutableArray* refreshData;
@property (nonatomic , assign) BOOL refreshSucc;

//地图
@property (nonatomic ,retain) BMKMapView *mapView;
@property (nonatomic ,assign) CLLocationCoordinate2D  currenLocation;
@property (nonatomic , copy) NSMutableArray *annotationArr;
@property (nonatomic , copy) NSMutableArray *paoPaoArr;

@property (nonatomic , strong) BMKPointAnnotation *location;

@end
